# Adds game messages

import libtcodpy as libtcod

messages = []
     
def message(msg, color=libtcod.white):
    messages.append([msg, color])
    if(len(messages) > 4):
        messages.remove(messages[0])

        